package cdc.retrofit.method;

import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

public interface Api {
	
	public static final String API_URL = "https://api.github.com";
	@GET("api/persons")
	Call<ResponseBody> persons();
	
	@GET("/repos/{owner}/{repo}/contributors")
    Call<List<Contributor>> contributors(
        @Path("owner") String owner,
        @Path("repo") String repo);

}
